package com.jt.controller;

import com.jt.vo.EasyUiTable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jt.service.ItemService;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ItemController {
	
	@Autowired
	private ItemService itemService;
	@RequestMapping("/item/query")
	public EasyUiTable findItemByPage(int page,int rows){
		return itemService.findItemByPage(page,rows);
	}
	
	
}
